package cn.com.chec.en.model.dto;

import cn.com.chec.en.model.domain.ChannelInfo;
import cn.com.chec.en.model.domain.NewsChannelRel;
import cn.com.chec.en.model.domain.NewsInfo;
import java.io.Serializable;
import java.util.List;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class NewsDTO implements Serializable {
	private static final long serialVersionUID = -6632823554659750514L;
	private NewsInfo newsInfo;
	private NewsChannelRel rel;
	private List<ChannelInfo> channelList;

	public NewsInfo getNewsInfo() {
		return this.newsInfo;
	}

	public void setNewsInfo(NewsInfo newsInfo) {
		this.newsInfo = newsInfo;
	}

	public NewsChannelRel getRel() {
		return this.rel;
	}

	public void setRel(NewsChannelRel rel) {
		this.rel = rel;
	}

	public List<ChannelInfo> getChannelList() {
		return this.channelList;
	}

	public void setChannelList(List<ChannelInfo> channelList) {
		this.channelList = channelList;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}